package cn.minhx.lab.design_patterns.template_method.f2.starter;

import cn.minhx.lab.design_patterns.template_method.f2.OcrClient;
import cn.minhx.lab.design_patterns.template_method.f2.impl.AliOcrClient;
import cn.minhx.lab.design_patterns.template_method.f2.impl.BaiduOcrClient;

public class Main {

    public static void main(String[] args) {
        test_aliOcr();
        test_baiduOcr();
    }

    private static void test_baiduOcr() {
        OcrClient ocrClient = new BaiduOcrClient();
        ocrClient.execute("imgUrl");
    }

    private static void test_aliOcr() {
        OcrClient ocrClient = new AliOcrClient();
        ocrClient.execute("imgUrl");
    }
}
